package com.shiguiwu.springmybatis.designpattern.visitor;

import com.shiguiwu.springmybatis.designpattern.visitor.impl.Student;
import com.shiguiwu.springmybatis.designpattern.visitor.impl.Teacher;

/**
 * @description: 访问者
 * @author: stone
 * @date: Created by 2021/10/29 16:09
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.visitor
 */
public interface Visitor {

    void visit(Teacher teacher);


    void visit(Student student);
}
